﻿using MediatR;
using Service.Auth.Model.Model.RequestDto.Permissions;

namespace Service.Auth.Api.Application.Command;


public record CreatePermissionsCommand
    (CreatePermissionsDto Permissions) : IRequest<bool>;


public record UpdatePermissionsCommand
     (UpdatePermissionsDto Permissions) : IRequest<bool>;

public record DeletePermissionsCommand
    (DeletePermissionsDto Permission) : IRequest<bool>;

